package com.example.proyyj.Impl;


import com.example.proyyj.Entity.Building;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BuildingImpl {

    //修改建筑
    int upBuilding(String Name,String Img,String Era ,String Classify,String Region,int id);
    //根据id查询建筑
    Building getBuildingById(int id);
    //查询全部建筑
    List<Building> getBuildingList();
    ////查询随机推送1条展览
    List<Building> randomBuilding();
}
